package com.rybbaby.tss.front.tssStatistics.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * //@description  过渡会员剩余课时
 * 
 * //@author 雷春琼
 * 
 * //@createDate 2017-08-10 上午12:25:24
 */
//@Entity
//@Table(name = "view_transition_surplus_package")
//@DynamicUpdate(true)
//@DynamicInsert(true)
public class ViewTransitionSurplusAttendanceDay implements Serializable {


	private static final long serialVersionUID = 768055447574057357L;
	/** 主键 **/
	private String id;
	/** 会员姓名 **/
	private String studentName;
	/** 生日 **/
	private Timestamp birthdayDate;
	/** 电话 **/
	private String contactPhone;
	/** 总课时数正课 **/
	private BigDecimal attendanceDays;
	/** 总课时数赠课 **/
	private BigDecimal giftAttendanceDays;
	/** 已出勤次数 **/
	private BigDecimal consumptionAttendanceDays;
	/** 缺勤次数 **/
	private BigDecimal absentDays;
	/** 剩余出勤次数 **/
	private BigDecimal surplusAttendanceDays;
	/** 剩余出勤赠课 **/
	private BigDecimal surplusPresentAttendanceDays;
	/** 剩余课时金额 **/
	private Double balances;
	/** 剩余材料费 **/
	private Double mealFeeAmout;

	/**
	 * 方法: 取得主键
	 *
	 * //@return java.lang.String 主键
	 */
	//@Id
	//@GeneratedValue(generator = "view_transition_surplus_packageIDGenerator" , strategy = GenerationType.AUTO)
	//@GenericGenerator(name = "view_transition_surplus_packageIDGenerator" , strategy = "uuid")
	//@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}
	
	/**
	 * 方法: 设置主键
	 *
	 * //@param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}

	//@Column(name = "studentName", nullable= true, length = 32)
	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	//@Column(name = "birthdayDate", nullable= true, length = 32)
	public Timestamp getBirthdayDate() {
		return birthdayDate;
	}

	public void setBirthdayDate(Timestamp birthdayDate) {
		this.birthdayDate = birthdayDate;
	}

	//@Column(name = "contactPhone", nullable= true, length = 11)
	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	//@Column(name = "attendanceDays", nullable= true, length = 12)
	public BigDecimal getAttendanceDays() {
		return attendanceDays;
	}

	public void setAttendanceDays(BigDecimal attendanceDays) {
		this.attendanceDays = attendanceDays;
	}

	//@Column(name = "giftAttendanceDays", nullable= true, length = 12)
	public BigDecimal getGiftAttendanceDays() {
		return giftAttendanceDays;
	}

	public void setGiftAttendanceDays(BigDecimal giftAttendanceDays) {
		this.giftAttendanceDays = giftAttendanceDays;
	}

	//@Column(name = "consumptionAttendanceDays", nullable= true, length = 12)
	public BigDecimal getConsumptionAttendanceDays() {
		return consumptionAttendanceDays;
	}

	public void setConsumptionAttendanceDays(BigDecimal consumptionAttendanceDays) {
		this.consumptionAttendanceDays = consumptionAttendanceDays;
	}

	//@Column(name = "absentDays", nullable= true, length = 12)
	public BigDecimal getAbsentDays() {
		return absentDays;
	}

	public void setAbsentDays(BigDecimal absentDays) {
		this.absentDays = absentDays;
	}

	//@Column(name = "surplusAttendanceDays", nullable= true, length = 12)
	public BigDecimal getSurplusAttendanceDays() {
		return surplusAttendanceDays;
	}

	public void setSurplusAttendanceDays(BigDecimal surplusAttendanceDays) {
		this.surplusAttendanceDays = surplusAttendanceDays;
	}

	//@Column(name = "surplusPresentAttendanceDays", nullable= true, length = 12)
	public BigDecimal getSurplusPresentAttendanceDays() {
		return surplusPresentAttendanceDays;
	}

	public void setSurplusPresentAttendanceDays(BigDecimal surplusPresentAttendanceDays) {
		this.surplusPresentAttendanceDays = surplusPresentAttendanceDays;
	}

	//@Column(name = "balances", nullable= true, length = 12)
	public Double getBalances() {
		return balances;
	}

	public void setBalances(Double balances) {
		this.balances = balances;
	}

	//@Column(name = "mealFeeAmout", nullable= true, length = 12)
	public Double getMealFeeAmout() {
		return mealFeeAmout;
	}

	public void setMealFeeAmout(Double mealFeeAmout) {
		this.mealFeeAmout = mealFeeAmout;
	}

}